package context

import (
	"time"
)

type CorpDataInfo struct {
	IsLoad bool
	Err    error
	Code   int
	Msg    string
	Data   struct {
		Member CorpInfo
	}
}

type CorpInfo struct {
	ID          int       `json:"id"`
	UserID      string    `json:"userID"`
	UserName    string    `json:"userName"`
	RealName    string    `json:"realName"`
	Sex         string    `json:"sex"`
	MobilePhone string    `json:"mobilePhone"`
	Email       string    `json:"email"`
	CompanyID   string    `json:"companyID"`
	CompanyName string    `json:"company"`
	CheckPass   int       `json:"checkPass"`
	AddTime     time.Time `json:"addTime"`
	ModTime     time.Time `json:"modTime"`
	OrgID       string    `json:"orgID"`
	OrgName     string    `json:"orgName`
}

type CorpDataAdminInfo struct {
	Err  error
	Code int
	Msg  string
	Data struct {
		Result bool
	}
}
